home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / raster.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-25  |  1.1 KB  |  42 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of Virtual 2600, the Atari 2600 Emulator
  4.    ==========================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: raster.h,v 1.4 1996/09/04 22:37:48 ahornby Exp $
  14.  
  15. ******************************************************************************/
  16.  
  17. /*
  18.   The raster prototypes.
  19.   */
  20.  
  21. #ifndef RASTER_H
  22. #define RASTER_H
  23. /* Color lookup tables. Used to speed up rendering */
  24. /* The current colour lookup table */
  25. extern int *colour_lookup;  
  26.  
  27. /* Colour table */
  28. #define P0M0_COLOUR 0
  29. #define P1M1_COLOUR 1
  30. #define PFBL_COLOUR 2
  31. #define BK_COLOUR 3
  32. extern UBYTE colour_table[4];
  33.  
  34. /* normal/alternate, not scores/scores*/
  35. extern int norm_val, scores_val;
  36. extern int *colour_ptrs[2][3];
  37.  
  38. void tv_raster(int line);
  39.  
  40. extern void init_raster(void);
  41. #endif
  42.